package com.ChainBizPro.system.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 库存交易
 * @TableName stock_transactions
 */
@TableName(value ="stock_transactions")
@Data
public class StockTransactions implements Serializable {
    /**
     * 库存交易ID
     */
    @TableId(type = IdType.AUTO)
    private Integer transactionId;

    /**
     * 商品ID
     */
    private Integer productId;

    /**
     * 交易类型
     */
    private Object transactionType;

    /**
     * 商品数量
     */
    private Integer quantity;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}